package com.crm.miaohe.controller.order.request;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class OrderHistoryRequest {
    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date start;
    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date end;
}
